Optimal. Leaf size=7 \[ \sin ^2(a) \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.006046, antiderivative size = 7, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {12, 29} \[ \sin ^2(a) \log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 29
Rubi steps
\begin{align*} \int \frac{\sin ^2(a)}{x} \, dx &=\sin ^2(a) \int \frac{1}{x} \, dx\\ &=\log (x) \sin ^2(a)\\ \end{align*}
Mathematica [A] time = 0.0008065, size = 7, normalized size = 1. \[ \sin ^2(a) \log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.012, size = 8, normalized size = 1.1 \begin{align*} \ln \left ( x \right ) \left ( \sin \left ( a \right ) \right ) ^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.09338, size = 9, normalized size = 1.29 \begin{align*} \log \left (x\right ) \sin \left (a\right )^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.436808, size = 32, normalized size = 4.57 \begin{align*} -{\left (\cos \left (a\right )^{2} - 1\right )} \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.339272, size = 7, normalized size = 1. \begin{align*} \log{\left (x \right )} \sin ^{2}{\left (a \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10733, size = 11, normalized size = 1.57 \begin{align*} \log \left ({\left | x \right |}\right ) \sin \left (a\right )^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]